/**
 * 
 */
package com.exject.android.socialphonebook.logutil.data;

import java.util.Date;

import com.exject.android.socialphonebook.data.Contact;

/**
 * @author Benjamin Nagel <benjamin.nagel@stud.fh-dortmund.de>
 *
 */
public class CallLogEntry extends LogEntry {
    private int duration;
    
    public CallLogEntry(int id, String number, Date date, int type, Contact contact, int duration) {
        super(id, number, date, type, contact);
        this.duration = duration;
    }
    
    public CallLogEntry(int id, String number, Date date, int type, int duration) {
        super(id, number, date, type);
        this.duration = duration;
    }
    
    public int getDuration() {
        return this.duration;
    }
}
